package com.ruoyi.labdata.mapper;

import java.util.List;
import com.ruoyi.labdata.domain.LabInstrumentScrap;

/**
 * 仪器报废Mapper接口
 * 
 * @author winner pan
 * @date 2022-03-02
 */
public interface LabInstrumentScrapMapper 
{
    /**
     * 查询仪器报废
     * 
     * @param scrapId 仪器报废ID
     * @return 仪器报废
     */
    public LabInstrumentScrap selectLabInstrumentScrapById(Long scrapId);

    /**
     * 查询仪器报废列表
     * 
     * @param labInstrumentScrap 仪器报废
     * @return 仪器报废集合
     */
    public List<LabInstrumentScrap> selectLabInstrumentScrapList(LabInstrumentScrap labInstrumentScrap);

    /**
     * 新增仪器报废
     * 
     * @param labInstrumentScrap 仪器报废
     * @return 结果
     */
    public int insertLabInstrumentScrap(LabInstrumentScrap labInstrumentScrap);

    /**
     * 修改仪器报废
     * 
     * @param labInstrumentScrap 仪器报废
     * @return 结果
     */
    public int updateLabInstrumentScrap(LabInstrumentScrap labInstrumentScrap);

    /**
     * 删除仪器报废
     * 
     * @param scrapId 仪器报废ID
     * @return 结果
     */
    public int deleteLabInstrumentScrapById(Long scrapId);

    /**
     * 批量删除仪器报废
     * 
     * @param scrapIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteLabInstrumentScrapByIds(Long[] scrapIds);
}
